home *** CD-ROM | disk | FTP | other *** search
/ Keystone Learning XML: Dy…ic Web Sites & Documents / Keystone Learning XML Dynamic Web Sites and Documents.iso / Video / 132.mpg (.mp4) < prev    next >
MPEG-1  |  2000-02-22  |  8.2 MB  |  352x240  |  29.97fps  |  57 seconds
Transcription: The reason I show this trick is because debugging this stuff isn't exactly simple. Fortunately, there are some new tools like Visual InterDev which allow for client-side debugging and let you do things like interrogate the values of variables, which is why I do this trick a lot. Most of the time if I'm going to write content out to the document object, I'll assign it into a variable, a string variable first. The reason being is as I step through the code, I can see exactly what's going to be written out and I can make sure that it is what I expect. This is especially true when you start doing ...